package com.sugon.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 设备维护计划预览明细表实体
 * 表名 DEV_MAINTENANCE_PLAN_PREVIEW
 *
 * @author sugon
 * @date 2020-11-04 15:58:36
 */
@NoArgsConstructor
@Data
public class DevMaintenancePlanPreviewEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 当年第多少周
     */
    private Integer weeksOfYear;

    /**
     * 年度
     */
    private Integer yearly;
    /**
     * 设备维护项ID
     */
    private String devMainItemId;
    /**
     * 设备ID
     */
    private String devId;

    /**
     * 维护计划ID
     */
    private String planId;

    /**
     * 维护计划明细ID
     */
    private String planItemId;

    public DevMaintenancePlanPreviewEntity(String planId, String planItemId, String devId, String devMainItemId, Integer yearly, Integer weeksOfYear) {
        this.planId = planId;
        this.planItemId = planItemId;
        this.weeksOfYear = weeksOfYear;
        this.yearly = yearly;
        this.devMainItemId = devMainItemId;
        this.devId = devId;
    }
}
